#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>

int main()
{
    pid_t pid = fork();
    if(pid < 0)
    {
        perror("fork");
        return 0;
    }
    if(pid == 0)
    {
        printf("This is _exit test\n");
        printf("This is the content in the buffer _exit");
        _exit(0);
    }
    else 
    {
        printf("This is exit test\n");
        printf("This is the content in the buffer exit");
        exit(0);
    }
    return 0;
}
